 



import Foundation

struct BatteryCharacteristic {
    let batteryLevel: Int
    
    init(with data: Data) throws {
        let batteryLevelValue: Int8 = try data.read()
        batteryLevel = Int(batteryLevelValue)
    }
}
